CFLAGS+=-c -Wall -g
CC=gcc
all:main
 
main:tree.o main_tree.o
	$(CC) $^ -o $@

# main_tree.o:main_tree.c
# 	$(CC) $^ $(CFLAGS) -o $@
# tree.o:tree.c
# 	$(CC) $^ $(CFLAGS) -o $@

.PHONY:clean
clean:
	$(rm) *.o 
